package cn.com.v2.model;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

@TableName("t_resource_market") // 指定表名
@Data
public class ResourceMarket {

    @TableId(type = IdType.ASSIGN_ID)
    private String id; // 资源 ID

    @TableField(value = "resource_name")
    private String resourceName; // 资源名称

    @TableField(value = "resource_desc")
    private String resourceDesc; // 资源描述

    @TableField(value = "resource_type_id")
    private Integer resourceTypeId; // 资源类型 ID

    @TableField(value = "project_id")
    private String projectId; // 所属项目 ID

    @TableField(value = "create_time")
    private String createTime; // 创建时间

    @TableField(value = "create_user_id")
    private String createUserId; // 创建用户 ID

    @TableField(value = "if_delete")
    private Integer ifDelete;
}